package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.merchant.annotation.Dict;

/**
 * 设备信息对象 t_base_device_info
 * 
 * @author juchengxin
 * @date 2024-09-03
 */
public class BaseDeviceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /**  */
    private String organId;

    /** 所属客户id */
    private String customerId;

    /** 客户端用户id */
    private String appUserId;

    /** 设备名称 */
    private String name;

    /**  */
    private String mac;

    /**  */
    private String rssi;

    /** 设备标识码 */
    private String imie;

    /** 设备电话号 */
    private String phone;

    /** 设备类别 */
    @Dict(dictTable = "t_device_category", dicText = "name", dicCode = "id")
    private String type;

    private String type_text;
    /** 设备型号 */
    @Dict(dictTable = "t_device_model", dicText = "name", dicCode = "id")
    private String equipmentType;
    private String equipmentType_text;
    /** 开通时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date openTime;

    /** sos号码设置【4G】 */
    private String sosPhones;

    /** GPS开关  0 关 1 开【4G】 */
    private Long gpsSwitch;

    /** GPS周期(分钟)【4G】 */
    private Long gpsCycle;

    /** 心率血压周期(秒)【4G】 */
    private Long heartRateCycle;
    /** 心率血压周期(秒)开关【4G】 */
    private Long OpenHeartRateCycle;

    /** 体温周期（分钟）【4G】 */
    private Long measurementCycle;
    /** 体温周期（分钟）开关【4G】 */
    private Long openMeasurementCycle;

    /** 跌倒报警设置开关 0 关 1 开【4G】 */
    private Long fallAlarmSwitch;

    /** 跌倒报警灵敏度【4G】 */
    private Long fallAlarmSensitivity;

    /** 睡眠时间设置【4G】 */
    private String sleepSet;
    /** 白名单【4G】 */
    private String whiteList;

    /** 血压校准高压值【4G】【蓝牙】 */
    private Long bloodPressureHigh;

    /** 血压校准低压值【4G】【蓝牙】 */
    private Long bloodPressureLow;
    /** 血压校准年龄【4G】 */
    private Long bloodPressureAge;

    /** 血压校准性别【4G】 */
    private Long bloodPressureSex;

    /** 时区【4G】 */
    private String timeZone;

    /** 工作模式【4G】 */
    private Long workMode;

    /** 白名单开关   0 关 1 开【4G】 */
    private Long whiteListSwitch;

    /** 闹钟设置总开关 0 关 1 开 【4G】 */
    private Long alarmSwitch;

    /** 自动健康监测开关 0 关 1 开 【蓝牙】 */
    private Long automaticDetection;

    /** 监测时间间隔（分钟）【蓝牙】 */
    private Long automaticCycle;

    /** 心率开关 关 0 关 1 开 【蓝牙】 */
    private Long heartRateSwitch;

    /** 心率最大值（bpm）【蓝牙】 */
    private Long heartRateMax;

    /** 心率最小值（bpm）【蓝牙】 */
    private Long heartRateMin;

    /** 血氧报警开关 0 关 1 开 【蓝牙】 */
    private Long bloodOxygenSwitch;

    /** 血氧下限值 80-95 间隔 1% */
    private Long bloodOxygen;

    /** 血压开关  关 0 关 1 开 【蓝牙】 */
    private Long bloodPressureHighSwitch;

    /** 血压高压最大值（mmHg）【蓝牙】 */
    private Long bloodPressureHighMax;

    /** 血压高压最小值（mmHg）【蓝牙】 */
    private Long bloodPressureHighMin;

    /** 血压低压最大值（mmHg）【蓝牙】 */
    private Long bloodPressureLowMax;

    /** 血压低压最小值（mmHg）【蓝牙】 */
    private Long bloodPressureLowMin;

    /** 体温报警开关 0 关 1 开 【蓝牙】 */
    private Long measurementSwich;

    /** 体温报警上限值【蓝牙】 */
    private Long measurement;

    /** 血糖标定【蓝牙】餐前 */
    private Float bloodSugarBefore;
    /** 血糖标定【蓝牙】餐后 */
    private Float bloodSugarAfter;

    /** 血脂标定【蓝牙】 */
    private Float bloodFat;

    /** 尿酸标定【蓝牙】 */
    private Long uricAcid;

    /** 运动目标【蓝牙】 */
    private Long movingTarget;

    /** 睡眠目标【蓝牙】 */
    private Long sleepTarget;

    /** 表盘设置【蓝牙】 */
    private String dialSettings;

    /** 语言设置【蓝牙】 */
    private String languageSettings;

    /** 肤色设置【蓝牙】 */
    private String skinColorSetting;

    /** 抬腕亮屏设置开关 0 关 1 开【蓝牙】 */
    private Long raiseVristSwich;

    /** 手机屏幕亮度设置 */
    private Long raiseVrist;

    /** 左右佩戴设置 0 左 1 右 */
    private Long wear;

    /** 勿扰设置开关 0 关 1 开 */
    private Long disturb;
    private String disturbStart;
    private String disturbEnd;


    /** 设备id */
    private String deviceId;

    /** 固件版本号 */
    private String deviceVersion;

    /** 电池状态 */
    private String deviceBatteryState;

    /** 0 激活 1 冻结 */
    @Dict(dicCode = "status")
    private Long status;
    private String status_text;

    /** 设备 在线状态  0 在线  1 离线 */
    private Long online;

    /** 0 未删除 1 已删除 */
    private Long del;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setOrganId(String organId) 
    {
        this.organId = organId;
    }

    public String getOrganId() 
    {
        return organId;
    }

    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }

    public void setAppUserId(String appUserId) 
    {
        this.appUserId = appUserId;
    }

    public String getAppUserId() 
    {
        return appUserId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }

    public void setRssi(String rssi) 
    {
        this.rssi = rssi;
    }

    public String getRssi() 
    {
        return rssi;
    }

    public void setImie(String imie) 
    {
        this.imie = imie;
    }

    public String getImie() 
    {
        return imie;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public String getType_text() {
        return type_text;
    }

    public String getEquipmentType_text() {
        return equipmentType_text;
    }

    public void setEquipmentType_text(String equipmentType_text) {
        this.equipmentType_text = equipmentType_text;
    }

    public void setType_text(String type_text) {
        this.type_text = type_text;
    }

    public void setEquipmentType(String equipmentType)
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType()
    {
        return equipmentType;
    }

    public void setOpenTime(Date openTime) 
    {
        this.openTime = openTime;
    }

    public Date getOpenTime() 
    {
        return openTime;
    }

    public void setSosPhones(String sosPhones) 
    {
        this.sosPhones = sosPhones;
    }

    public String getSosPhones() 
    {
        return sosPhones;
    }

    public void setGpsSwitch(Long gpsSwitch) 
    {
        this.gpsSwitch = gpsSwitch;
    }

    public Long getGpsSwitch() 
    {
        return gpsSwitch;
    }

    public void setGpsCycle(Long gpsCycle) 
    {
        this.gpsCycle = gpsCycle;
    }

    public Long getGpsCycle() 
    {
        return gpsCycle;
    }

    public void setHeartRateCycle(Long heartRateCycle) 
    {
        this.heartRateCycle = heartRateCycle;
    }

    public Long getHeartRateCycle() 
    {
        return heartRateCycle;
    }

    public void setMeasurementCycle(Long measurementCycle) 
    {
        this.measurementCycle = measurementCycle;
    }

    public Long getMeasurementCycle() 
    {
        return measurementCycle;
    }

    public void setOpenHeartRateCycle(Long openHeartRateCycle) {
        OpenHeartRateCycle = openHeartRateCycle;
    }

    public Long getOpenHeartRateCycle() {
        return OpenHeartRateCycle;
    }

    public Long getOpenMeasurementCycle() {
        return openMeasurementCycle;
    }

    public String getWhiteList() {
        return whiteList;
    }

    public void setOpenMeasurementCycle(Long openMeasurementCycle) {
        this.openMeasurementCycle = openMeasurementCycle;
    }

    public void setWhiteList(String whiteList) {
        this.whiteList = whiteList;
    }

    public void setFallAlarmSwitch(Long fallAlarmSwitch)
    {
        this.fallAlarmSwitch = fallAlarmSwitch;
    }

    public Long getFallAlarmSwitch() 
    {
        return fallAlarmSwitch;
    }

    public void setFallAlarmSensitivity(Long fallAlarmSensitivity) 
    {
        this.fallAlarmSensitivity = fallAlarmSensitivity;
    }

    public Long getFallAlarmSensitivity() 
    {
        return fallAlarmSensitivity;
    }

    public void setSleepSet(String sleepSet) 
    {
        this.sleepSet = sleepSet;
    }

    public String getSleepSet() 
    {
        return sleepSet;
    }

    public void setBloodPressureHigh(Long bloodPressureHigh) 
    {
        this.bloodPressureHigh = bloodPressureHigh;
    }

    public Long getBloodPressureHigh() 
    {
        return bloodPressureHigh;
    }

    public void setBloodPressureLow(Long bloodPressureLow) 
    {
        this.bloodPressureLow = bloodPressureLow;
    }

    public Long getBloodPressureLow() 
    {
        return bloodPressureLow;
    }

    public void setTimeZone(String timeZone) 
    {
        this.timeZone = timeZone;
    }

    public String getTimeZone() 
    {
        return timeZone;
    }

    public void setWorkMode(Long workMode) 
    {
        this.workMode = workMode;
    }

    public Long getWorkMode() 
    {
        return workMode;
    }

    public void setWhiteListSwitch(Long whiteListSwitch) 
    {
        this.whiteListSwitch = whiteListSwitch;
    }

    public Long getWhiteListSwitch() 
    {
        return whiteListSwitch;
    }

    public void setAlarmSwitch(Long alarmSwitch) 
    {
        this.alarmSwitch = alarmSwitch;
    }

    public Long getAlarmSwitch() 
    {
        return alarmSwitch;
    }

    public void setAutomaticDetection(Long automaticDetection) 
    {
        this.automaticDetection = automaticDetection;
    }

    public Long getAutomaticDetection() 
    {
        return automaticDetection;
    }

    public void setAutomaticCycle(Long automaticCycle) 
    {
        this.automaticCycle = automaticCycle;
    }

    public Long getAutomaticCycle() 
    {
        return automaticCycle;
    }

    public void setHeartRateSwitch(Long heartRateSwitch) 
    {
        this.heartRateSwitch = heartRateSwitch;
    }

    public Long getHeartRateSwitch() 
    {
        return heartRateSwitch;
    }

    public void setHeartRateMax(Long heartRateMax) 
    {
        this.heartRateMax = heartRateMax;
    }

    public Long getHeartRateMax() 
    {
        return heartRateMax;
    }

    public void setHeartRateMin(Long heartRateMin) 
    {
        this.heartRateMin = heartRateMin;
    }

    public Long getHeartRateMin() 
    {
        return heartRateMin;
    }

    public void setBloodOxygenSwitch(Long bloodOxygenSwitch) 
    {
        this.bloodOxygenSwitch = bloodOxygenSwitch;
    }

    public Long getBloodOxygenSwitch() 
    {
        return bloodOxygenSwitch;
    }

    public void setBloodOxygen(Long bloodOxygen) 
    {
        this.bloodOxygen = bloodOxygen;
    }

    public Long getBloodOxygen() 
    {
        return bloodOxygen;
    }

    public void setBloodPressureHighSwitch(Long bloodPressureHighSwitch) 
    {
        this.bloodPressureHighSwitch = bloodPressureHighSwitch;
    }

    public Long getBloodPressureHighSwitch() 
    {
        return bloodPressureHighSwitch;
    }

    public void setBloodPressureHighMax(Long bloodPressureHighMax) 
    {
        this.bloodPressureHighMax = bloodPressureHighMax;
    }

    public Long getBloodPressureHighMax() 
    {
        return bloodPressureHighMax;
    }

    public void setBloodPressureHighMin(Long bloodPressureHighMin) 
    {
        this.bloodPressureHighMin = bloodPressureHighMin;
    }

    public Long getBloodPressureHighMin() 
    {
        return bloodPressureHighMin;
    }

    public void setBloodPressureLowMax(Long bloodPressureLowMax) 
    {
        this.bloodPressureLowMax = bloodPressureLowMax;
    }

    public Long getBloodPressureLowMax() 
    {
        return bloodPressureLowMax;
    }

    public void setBloodPressureLowMin(Long bloodPressureLowMin) 
    {
        this.bloodPressureLowMin = bloodPressureLowMin;
    }

    public Long getBloodPressureLowMin() 
    {
        return bloodPressureLowMin;
    }

    public void setMeasurementSwich(Long measurementSwich) 
    {
        this.measurementSwich = measurementSwich;
    }

    public Long getMeasurementSwich() 
    {
        return measurementSwich;
    }

    public void setMeasurement(Long measurement) 
    {
        this.measurement = measurement;
    }

    public Long getMeasurement() 
    {
        return measurement;
    }

    public void setBloodSugarAfter(Float bloodSugarAfter) {
        this.bloodSugarAfter = bloodSugarAfter;
    }

    public void setBloodSugarBefore(Float bloodSugarBefore) {
        this.bloodSugarBefore = bloodSugarBefore;
    }

    public Float getBloodSugarAfter() {
        return bloodSugarAfter;
    }

    public Float getBloodSugarBefore() {
        return bloodSugarBefore;
    }

    public void setBloodFat(Float bloodFat)
    {
        this.bloodFat = bloodFat;
    }

    public Float getBloodFat()
    {
        return bloodFat;
    }

    public void setUricAcid(Long uricAcid) 
    {
        this.uricAcid = uricAcid;
    }

    public Long getUricAcid() 
    {
        return uricAcid;
    }

    public void setMovingTarget(Long movingTarget) 
    {
        this.movingTarget = movingTarget;
    }

    public Long getMovingTarget() 
    {
        return movingTarget;
    }

    public void setSleepTarget(Long sleepTarget) 
    {
        this.sleepTarget = sleepTarget;
    }

    public Long getSleepTarget() 
    {
        return sleepTarget;
    }

    public void setDialSettings(String dialSettings) 
    {
        this.dialSettings = dialSettings;
    }

    public String getDialSettings() 
    {
        return dialSettings;
    }

    public void setLanguageSettings(String languageSettings) 
    {
        this.languageSettings = languageSettings;
    }

    public String getLanguageSettings() 
    {
        return languageSettings;
    }

    public void setSkinColorSetting(String skinColorSetting) 
    {
        this.skinColorSetting = skinColorSetting;
    }

    public String getSkinColorSetting() 
    {
        return skinColorSetting;
    }

    public void setRaiseVristSwich(Long raiseVristSwich) 
    {
        this.raiseVristSwich = raiseVristSwich;
    }

    public Long getRaiseVristSwich() 
    {
        return raiseVristSwich;
    }

    public void setRaiseVrist(Long raiseVrist) 
    {
        this.raiseVrist = raiseVrist;
    }

    public Long getRaiseVrist() 
    {
        return raiseVrist;
    }

    public void setWear(Long wear) 
    {
        this.wear = wear;
    }

    public Long getWear() 
    {
        return wear;
    }

    public void setDisturb(Long disturb) 
    {
        this.disturb = disturb;
    }

    public Long getDisturb() 
    {
        return disturb;
    }

    public void setDisturbStart(String disturbStart) {
        this.disturbStart = disturbStart;
    }

    public String getDisturbStart() {
        return disturbStart;
    }

    public void setDisturbEnd(String disturbEnd) {
        this.disturbEnd = disturbEnd;
    }

    public String getDisturbEnd() {
        return disturbEnd;
    }

    public void setDeviceId(String deviceId)
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }

    public void setDeviceVersion(String deviceVersion) 
    {
        this.deviceVersion = deviceVersion;
    }

    public String getDeviceVersion() 
    {
        return deviceVersion;
    }

    public void setDeviceBatteryState(String deviceBatteryState) 
    {
        this.deviceBatteryState = deviceBatteryState;
    }

    public String getDeviceBatteryState() 
    {
        return deviceBatteryState;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public void setStatus_text(String status_text) {
        this.status_text = status_text;
    }

    public String getStatus_text() {
        return status_text;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setOnline(Long online) 
    {
        this.online = online;
    }

    public Long getOnline() 
    {
        return online;
    }

    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }


    public void setBloodPressureAge(Long bloodPressureAge) {
        this.bloodPressureAge = bloodPressureAge;
    }

    public void setBloodPressureSex(Long bloodPressureSex) {
        this.bloodPressureSex = bloodPressureSex;
    }

    public Long getBloodPressureAge() {
        return bloodPressureAge;
    }

    public Long getBloodPressureSex() {
        return bloodPressureSex;
    }
}
